///CommonModel实体
class CommonModel {
  final String icon;
  final String title;
  final String url;
  final String statusBarColor;
  final bool hideAppBar;

  CommonModel(
      {this.icon, this.title, this.url, this.statusBarColor, this.hideAppBar});

  factory CommonModel.fromJson(Map<String, dynamic> json) {
    return CommonModel(
      icon: json['icon'],
      title: json['title'],
      url: json['url'],
      statusBarColor: json['statusBarColor'],
      hideAppBar: json['hideAppBar'],
    );
  }

  @override
  String toString() {
    return 'icon:${this.icon}\ntitle:${this.title}\nurl:${this
        .url}\nstatusBarColor:${this.statusBarColor}\nhideAppBar:${this
        .hideAppBar}';
  }

}
